package com.wn.system.service;

import com.wn.common.model.bank.dto.CardBindDto;
import com.wn.common.model.bank.dto.SignatureDto;
import com.wn.common.model.user.dto.LoginDto;
import com.wn.common.model.user.dto.UserRegisterDto;
import com.wn.common.model.user.vo.LoginVo;
import com.wn.common.model.user.vo.UserInfoVo;
import com.wn.system.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author yellow docker
 * @since 2024-09-03
 */
public interface IUserService extends IService<User> {

    /**
     * 用户注册
     * @param user
     */
    void register(UserRegisterDto user);

    LoginVo login(LoginDto loginDto);

    SignatureDto addBankAccount(CardBindDto cardBindDto);

    UserInfoVo findById(Long userId);
}
